<!doctype html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>修改租户</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8"/>
    <link rel="stylesheet" href="../../../assets/css/font.css">
    <link rel="stylesheet" href="../../../assets/css/xadmin.css">
</head>
<body>
<div class="x-nav">
      <span class="layui-breadcrumb">
          <a href="../../index/welcome.html">首页</a>
          <a><cite>SaaS管理</cite></a>
          <a href="entList.html">租户表列</a>
          <a><cite><script>document.write(location.search.indexOf("id")>0?"修改租户":"新增租户");</script></cite></a>
      </span>
    <a class="layui-btn layui-btn-sm layui-btn-normal" style="line-height:1.6em;margin-top:4px;float:right"
       href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
</div>
<div class="x-body">
    <fieldset class="layui-elem-field layui-field-title">
        <legend><script>document.write(location.search.indexOf("id")>0?"修改租户":"新增租户");</script></legend>
    </fieldset>
    <form id="formForm"  class="layui-form" action="">
        <input type="hidden" name="id">
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">组织名称</label>
                <div class="layui-input-inline">
                    <input type="text" name="entName" lay-verify="entName" class="layui-input"/>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">组织类型</label>
                <div class="layui-input-inline">
                   <select name="entType" dist-name="sys.Ent_EntTypeEnum" lay-verify="entType" config="">
                     <option value=""></option>
                   </select>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">联系人手机</label>
                <div class="layui-input-inline">
                    <input type="text" name="entMobile" lay-verify="entMobile" class="layui-input"/>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">联系人邮箱</label>
                <div class="layui-input-inline">
                    <input type="text" name="entEmail" lay-verify="" class="layui-input"/>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">组织状态</label>
                <div class="layui-input-inline">
                   <select name="entStatus" dist-name="sys.Ent_EntStatusEnum" config="" lay-verify="entStatus">
                     <option value=""></option>
                   </select>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">是否有效</label>
                <div class="layui-input-inline">
                   <select name="isValid" dist-name="comm.ValidEnum" config="" lay-verify="isValid">
                     <option value=""></option>
                   </select>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">到期时间</label>
                <div class="layui-input-inline">
                    <input type="text" class="layui-input" id="overdueTime" name="overdueTime" lay-verify="overdueTime"  placeholder="yyyy-MM-dd">
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">租户编号</label>
                <div class="layui-input-inline">
                    <input type="text" name="itemCode" lay-verify="itemCode" class="layui-input"/>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">可登陆人数</label>
                <div class="layui-input-inline">
                    <input type="text" name="loginNum" lay-verify="" class="layui-input"/>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-inline">
                <label class="layui-form-label">数据库类型</label>
                <div class="layui-input-inline">
                   <select name="dbType" dist-name="sys.Ent_DbTypeEnum" config="" lay-verify="dbType">
                     <option value=""></option>
                   </select>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">配置信息</label>
                <div class="layui-input-inline">
                    <input type="text" name="dbConfig" lay-verify="" class="layui-input"/>
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">备注</label>
                <div class="layui-input-inline">
                    <input type="text" name="remark" lay-verify="" class="layui-input"/>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="formSubmitFilter">保存</button>
                <button type="button" class="layui-btn layui-btn-primary" onclick="location.href='entList.html'">取消</button>
            </div>
        </div>
    </form>
</div>
</body>
<script type="text/javascript" src="../../../assets/js/lib.js"></script>
<script type="text/javascript" src="entForm.js"></script>
</html>
